/**
 * Project Name:JingZhenGu
 * File Name:ProvinceList.java
 * Package Name:com.gc.jingzhengu.vo
 * Date:2014-6-16下午5:58:20
 * Copyright (c) 2014, wangyd523@gmail.com All Rights Reserved.
 *
 */

package com.jzg.jcptadmin.data.vo;

import android.os.Parcel;

import com.jzg.jcptadmin.base.BaseObject;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * ClassName:ProvinceList <br/>
 * Function:省实体列表. <br/>
 * Reason: TODO ADD REASON. <br/>
 * Date: 2014-6-16 下午5:58:20 <br/>
 * 
 * @author 汪渝栋
 * @version
 * @since JDK 1.6
 * @see
 */
public class ProvinceList extends BaseObject implements Serializable
{
	private ArrayList<Province> content = new ArrayList<Province>();

	public ArrayList<Province> getContent() {
		return content;
	}

	public void setContent(ArrayList<Province> content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "ProvinceList{" +
				"content=" + content +
				'}';
	}


	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		super.writeToParcel(dest, flags);
		dest.writeList(this.content);
	}

	public ProvinceList() {
	}

	protected ProvinceList(Parcel in) {
		super(in);
		this.content = new ArrayList<Province>();
		in.readList(this.content, List.class.getClassLoader());
	}

	public static final Creator<ProvinceList> CREATOR = new Creator<ProvinceList>() {
		public ProvinceList createFromParcel(Parcel source) {
			return new ProvinceList(source);
		}

		public ProvinceList[] newArray(int size) {
			return new ProvinceList[size];
		}
	};
}
